﻿@model BadmintonBuddy.Models.RegisterExternalLoginModel
@{
    ViewBag.Title = "Register";
}

<div class="push-10 grid-80 confirm-msg">
    <p>
        You've successfully authenticated. Please enter a user name and email for this site below and click the Confirm button to finish
            logging in.
    </p>
    @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }))
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)
        <div class="profileimg grid-20">            
            <img src="~/Images/Profile.JPG" />            
            <input type="file" />
        </div>
        <div class="loginname grid-60">
            <div class="grid-20">
                <p>UserName</p>
                <p>UserEmail</p>
            </div>
            <div class="grid-80">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)

                @Html.TextBoxFor(m => m.UserEmail)
                @Html.ValidationMessageFor(m => m.UserEmail)

            </div>
            @Html.HiddenFor(m => m.ExternalLoginData)
        <input class="push-45" type="submit" value="Confirm" />
        </div>
        
    
    }
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
